It is a popular saying which means to die working or in full work, fulfilling his duty. It is a similarity that is made with the soldiers in the war who died in the middle of the fight with the footwear since.
Adverbial phrase of mode. Put effort, forces and possibilities in action, although this is not achieved or achieved.